package com.bob.clan.wxconnector.entity;

import java.util.Date;

/**
 * Created by fs.ge on 2016/12/14.
 */
public class MpQr {
    /**
     * 开发者微信号
     */
    private String mpId;
    /**
     * 场景值ID，临时二维码时为32位非0整型，永久二维码时最大值为100000（目前参数只支持1--100000）
     */
    private String sceneId;
    /**
     * 二维码描述
     */
    private String sceneRemark;
    /**
     * 二维码持有时间
     */
    private Integer holdSeconds;
    /**
     * 生成时间
     */
    private Date onsetTime;
    /**
     * 获取的二维码ticket，凭借此ticket可以在有效时间内换取二维码。
     */
    private String ticket;
    /**
     * 二维码图片解析后的地址，开发者可根据该地址自行生成需要的二维码图片
     */
    private String qrUrl;
    private Integer status = 1;
    private Date updateTime;

    public String getMpId() {
        return mpId;
    }

    public String getSceneId() {
        return sceneId;
    }

    public String getSceneRemark() {
        return sceneRemark;
    }

    public Integer getHoldSeconds() {
        return holdSeconds;
    }

    public Date getOnsetTime() {
        return onsetTime;
    }

    public String getTicket() {
        return ticket;
    }

    public String getQrUrl() {
        return qrUrl;
    }

    public Integer getStatus() {
        return status;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setMpId(String mpId) {
        this.mpId = mpId;
    }

    public void setSceneId(String sceneId) {
        this.sceneId = sceneId;
    }

    public void setSceneRemark(String sceneRemark) {
        this.sceneRemark = sceneRemark;
    }

    public void setHoldSeconds(Integer holdSeconds) {
        this.holdSeconds = holdSeconds;
    }

    public void setOnsetTime(Date onsetTime) {
        this.onsetTime = onsetTime;
    }

    public void setTicket(String ticket) {
        this.ticket = ticket;
    }

    public void setQrUrl(String qrUrl) {
        this.qrUrl = qrUrl;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}
